import request from "@/plugins/axios";
// 客户优惠券列表
export function listApi(data) {
  return request({
    url: "/crm/coupon/index",
    method: "post",
    data,
  });
}
// 新增
export function addApi(data) {
  return request({
    url: "/crm/coupon/create",
    method: "post",
    data,
  });
}
// 禁用
export function stateApi(data) {
  return request({
    url: "/shop/couponUser/state",
    method: "post",
    data,
  });
}
// 删除
export function delApi(data) {
  return request({
    url: "/crm/coupon/delete",
    method: "post",
    data,
  });
}
